package com.ly.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.IService;
import com.ly.entity.JoinTeam;
import com.ly.pojo.dto.JoinTeamDTO;
import com.ly.pojo.vo.JoinTeamVO;
import com.ly.utils.Result;

/**
 * @author : 黑渊白花
 * @date : 2025/2/8 22:14
 */

public interface JoinTeamService extends IService<JoinTeam> {

    IPage<JoinTeamVO> getAllPage(JoinTeamDTO joinTeamDTO);
    IPage<JoinTeamVO> getPage(JoinTeamDTO joinTeamDTO);
    void auditJoinTeam(JoinTeam joinTeam);
    Long getJoinTNumByTeamId(Integer teamId);
    Result applyTeam(JoinTeam joinTeam);

    Boolean isapplyTeam(JoinTeam joinTeam);
}
